var builder = WebApplication.CreateBuilder(args);
builder.Host.ConfigureLogging(logging => logging.AddFile());
var services = builder.Services;
services.AddControllers();

var app = builder.Build();

app.UseRouting();
app.UseEndpoints(endpoints => endpoints.MapControllers());
app.Run();
